package edu.scau.system.domain;


import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 * 用户角色表(UserRole)实体类
 *
 * @author hwh
 * @since 2025-03-15 17:41:24
 */

@Tag(name = "用户角色表", description = "用户角色表 domain")
@Data
public class UserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(name = "userId", description = "用户ID", type = "Long")
    private Long userId;

    @Schema(name = "roleId", description = "角色ID", type = "Long")
    private Long roleId;



    public UserRole() {
    }

    public UserRole( Long userId,   Long roleId ) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
